/*
 * AttackView.h
 *
 *  Created on: 24/01/2011
 *      Author: Nenem
 */

#ifndef ATTACKVIEW_H_
#define ATTACKVIEW_H_

#include "View.h"

class AttackView: public View {
private:
	int frameRate;
    int time;
    bool done;
    Image *image;
    int i;
    SDL_Surface *terrain;
public:
    AttackView();
    virtual ~AttackView();
    void update(int delta, Model *model, Graphics *graphics);

    void setFrameRate(int frameRate);

    Image *getImage();

    void setImage(Image *image);

    SDL_Surface *getTerrain() const
    {
    	return terrain;
    }

    void setTerrain(SDL_Surface *terrain)
    {
    	this->terrain = terrain;
    }

    bool getDone(){
    	return done;
    }
};

#endif /* ATTACKVIEW_H_ */
